* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #fcfcfc;
}

h2 {
  letter-spacing: 10px;
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: #ff5353;
}

a {
  text-decoration: none;
  color: #ffffff;
}

button {
  width: 140px;
  height: 36px;
  line-height: 1;
  text-align: center;
  background-color: #ff4b2b;
  margin: 12px auto;
  padding: 10px 40px;
  border: none;
  border-radius: 20px;
  outline: none;
  color: #ffffff;
  font-size: 18px;
  transition: 0.1s;
}

button:hover {
  transform: scale(0.95);
}

.container {
  position: relative;
  display: flex;
  width: 768px;
  height: 480px;
  background-color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2), 0 10px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.signup,
.login {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background-color: #ffffff;
}

.signup {
  right: 0;
}

.form {
  padding: 0 50px;
  display: flex;
  flex-direction: column;
  align-self: center;
  justify-content: center;
  width: auto;
  height: 100%;
}

.form input {
  width: 100%;
  margin: 12px 0;
  padding: 10px;
  background-color: #eeeeee;
  border: 1px solid transparent;
  outline: none;
  border-radius: 4px;
  transition: 0.3s;
}

.form input:nth-of-type(2) {
  margin-bottom: 20px;
}

.form button {
  margin-top: 20px;
}

.form input:focus {
  box-shadow: 0px -1px 2px #ff4b2b, 1px 0px 2px #ff4b2b, 0px 1px 2px #ff4b2b,
    -1px 0px 2px #ff4b2b;
  border: 1px solid #f7846f;
}

.mask {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background-color: #ff6b51;
  transition: 0.5s;
  overflow: hidden;
}

.innermask {
  width: 200%;
  height: inherit;
  display: flex;
  flex-direction: row;
  background-image: linear-gradient(120deg, #ff6b51, #fc095a);
  transition: 0.5s;
}

.innermask h2 {
  color: #ffffff;
  letter-spacing: 0;
}

.innermask button {
  border: 1px solid #ffffff;
  background-color: transparent;
}

.innermask p {
  font-size: 16px;
  margin: 16px 0 40px;
}

.leftmask,
.rightmask {
  /* position: absolute; */
  width: 50%;
  height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 0 40px;
}
/* 
.rightmask {
  right: 0;
} */
